Add *.slnx to UnrealEngine.gitignore - #4907
Open
murnana wants to merge 1 commit into
Open
Conversation
UnrealBuildTool (UBT) auto-generates .slnx solution files the same way it generates .sln/.vcxproj, based on the project's .uproject and .Build.cs configuration. These generated files may contain locally-mounted paths or personal dev environment settings, which can cause conflicts when shared between team members. As with other generated project files, they can be regenerated anytime via 'Generate Visual Studio project files' as long as the Source folder, Content folder, and .uproject file are present. Docs: - https://dev.epicgames.com/documentation/en-us/unreal-engine/project-files-for-ides-in-unreal-engine - https://dev.epicgames.com/documentation/en-us/unreal-engine/unreal-build-tool-in-unreal-engine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to the application or project's homepage
Unreal Engine
Reasons for making this change
Visual Studio 2022 (v17.10+) introduced a new solution file format,
.slnx, which serves the exact same role as the.slnfile this template already ignores. Unreal Engine'sUnrealBuildTool(UBT) generates IDE project files (.sln/.slnx,.vcxproj, etc.) from the project's.uprojectand*.Build.csfiles, and they can be regenerated at any time via "Generate Visual Studio project files" as long as theSourcefolder,Contentfolder, and.uprojectfile are present. These generated files are treated as intermediate build artifacts and may embed locally-mounted paths or personal environment settings, so — like.sln— they should not be shared between team members. This applies to every Unreal Engine developer using Visual Studio 2022 or later, not just a specific setup.Links to documentation supporting these rule changes
PROJECT_DIRECTORY\Intermediate\ProjectFiles, and must be regenerated if theIntermediatefolder is deleted..sln/.vcproj, etc.), so project files don't need to be synced between team members — only source files need to be synced, and project files can be rebuilt locally.Merge and Approval Steps